var app = getApp();
Component({
  options: {
    multipleSlots: true
  },
  data: {
    isipx: app.globalData.isIphoneX,
    userD: null,
  },
  properties:{
    actab: String,
  },
  methods: {
    goUrl() {
      console.log(wx.getStorageSync('userData').nickname)
      if (wx.getStorageSync('userData').nickName) {
        wx.navigateTo({
          url: `/pages/myCenter/myCenter`
        })
      } else {
        wx.navigateTo({
          url: `/pages/admin/authorization/index`
        })
      }
    }
  },
})
